<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript" type="text/javascript">
function createForm(number,nw) {
data = ""; 
number=parseInt(number);
for (i=1; i <= number; i++) {
data =data + "<input name='"+nw+i+"' width=40 style='vertical-align: middle'> <iframe style='top:2px' ID='UploadFiles' src='/' frameborder=1 scrolling=no width='250' height='25' style='vertical-align: middle'></iframe><br>";
}
if (document.layers) {
document.layers.cust.document.write(data);
document.layers.cust.document.close();
}
else {
if (document.all) {
cust.innerHTML = data;
 }
 }
}
</script>
</head>
<body>
<form name=form1>
<span id=cust style="position:relative;"></span>
<input name="leibienum" type="text" value="1" size="5">
<input type="button" name="meiyou" value="添加" onClick="createForm(document.form1.leibienum.value,'wai')">
</form>
</body>
</html>
